var v = id("text1").find(5000)
for (let index = 0; index < v.length; index++) {
    if (v[index].text() == '去赚钱') {
        var xy = v[index].bounds()
        try { click(xy.centerX(), xy.centerY()) } catch (e) { }
        sleep(2000)
        click("首页")
        sleep(2000)
        try { click(xy.centerX(), xy.centerY()) } catch (e) { }
        sleep(2000)
        click("首页")
        sleep(2000)
        try { click(xy.centerX(), xy.centerY()) } catch (e) { }
    }

}




